import sys
import os

print('The command line arguments are:')
for i in sys.argv:
    # for j in i:
    # print(j)
    print(i)

print('\n\nThe PYTHON PATH is', '\n')
for i in sys.path:
    print(i)

print('————————————————')
print(os.getcwd())

# 以上程序代码应该输出
# The command line arguments are:
# C:/Users/Admin/PycharmProjects/helloworld/module_using_sys.py
#
#
# The PYTHON PATH is
#
# C:\Users\###\PycharmProjects\helloworld
# C:\Users\###\PycharmProjects\helloworld
# C:\Users\###\PycharmProjects\helloworld\venv\Scripts\python36.zip
# C:\Users\###\PycharmProjects\helloworld\venv\DLLs
# C:\Users\###\PycharmProjects\helloworld\venv\lib
# C:\Users\###\PycharmProjects\helloworld\venv\Scripts
# D:\###\bin\python\python-3.6.1\Lib
# D:\###\bin\python\python-3.6.1\DLLs
# C:\Users\###\PycharmProjects\helloworld\venv
# C:\Users\###\PycharmProjects\helloworld\venv\lib\site-packages
# C:\Program Files\JetBrains\PyCharm 2017.3.2\helpers\pycharm_matplotlib_backend
# ————————————————
# C:\Users\###\PycharmProjects\helloworld
